import { request } from './request'

/**
 * 账号登录
 * @param account  账号
 * @param password 密码
 * */
export const loginAccountApi = (
  account: string,
  password: string
): PromiseRes => request(`/api/login`, 'POST', { account, password })
